
package com.zhitan.ems.app.sip.wrapper;
import com.zhitan.ems.app.sip.entity.SipConfigEntity;
import com.zhitan.ems.app.sip.vo.SipConfigVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;
  /**
 * sip系统配置 包装类,返回视图层所需的字段
 * @author zhitan
 * 
 * @date 2025-09-19 22:49:44
 */
public class SipConfigWrapper extends BaseEntityWrapper<SipConfigEntity, SipConfigVO>  {
    public static SipConfigWrapper build() {
        return new SipConfigWrapper();
    }
	@Override
	public SipConfigVO entityVO(SipConfigEntity sipConfig) {
		if(sipConfig==null) {
			return null;
		}
		SipConfigVO sipConfigVO = BeanUtil.copy(sipConfig, SipConfigVO.class);
		return sipConfigVO;
	}

}
